package com.example.personalizededucationsystem.dto.dto;

import com.example.personalizededucationsystem.model.Question;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CommonErrorQuestionDto {
    private Long questionId;
    private String content;
    private long errorCount;

    public CommonErrorQuestionDto(Question question, long errorCount) {
        this.questionId = question.getQuestionId();
        this.content = question.getContent();
        this.errorCount = errorCount;
    }

}